<template>
  <div class="page">
    <c-title :hide="false" :text="numList.title"></c-title>
    <div class="class">
        <div id="app" v-html="child"></div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      id: 0,
      List: {},
      numList: {},
      child:null,
    };
  },
  activated() {
    this.numList = this.$route.query.numList;
    this.getList();
  },
  methods: {
    getList() {
      $http
        .post("plugin.hft-tcm.frontend.hft-tcm.info", {
          id: this.numList.id
        })
        .then(response => {
          console.log(response)
            this.List = response.data;
            this.child=this.List.content
            console.log(this.List)
        });
    }
  }
};
</script>

<style scoped lang="scss">
.page{
  .class{
    // img{
    //   width: 100%;
    // }
  }
}
</style>>